package com.yi.mall.api;

import com.yi.mall.common.utils.ResponseEnum;
import com.yi.mall.common.utils.Result;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class CartFeignFallback implements CartFeign {
    @Override
    public Result rmall(List<String> ids) {
        return Result.fail(ResponseEnum.FAIL);
    }

    @Override
    public Result delete(String id) {
        return Result.fail(ResponseEnum.FAIL);
    }

    @Override
    public Result findByid(String id) {
        return Result.fail(ResponseEnum.FAIL);
    }
}
